#include <stdio.h>
#include <string.h> 
int main(){
	
	char *pstr[5]={"zhangsan","lisi","wangwu","alibaba","liubang"}; 
	printf("%d\n",strcmp(pstr[0],pstr[1]));
	int i;
	int j;
	for(i=0;i<4;i++)
	{
		for(j=0;j<4-i;j++)
		{
			char *temp=NULL;
			if(strcmp(pstr[j],pstr[j+1])>0){
				temp=pstr[j];
				pstr[j]=pstr[j+1];
				pstr[j+1]=temp;
			}
				
		}	
	}
	for(i=0;i<5;i++)
	{
		printf("%s\n",pstr[i]);	
	} 
	

	 
}

